package dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import pojo.Comment;
import pojo.Products;

import java.util.List;

@Repository("indexDao")
@Mapper
public interface IndexDao {
    public List<Comment> selectAllComment();
    public List<Products> selectAllProduct();
    public List<Products> selectOneProduct(Integer pid);
}
